import { network } from '@/utils';
import { TableListParams } from './data';

import { basic } from '../../../../../config/Apis';

export default async function queryCampusList(params: TableListParams) {
    return network.get(basic.garden_list, {
        params,
    });
}

export async function updateSmsAgentStatus(params: { id: number, smsAgent: number }) {
    return network.put(basic.updateSmsAgentStatus, { data: params });
}

export async function updateUserPickUpStatus(params: { id: number, userPickup: number }) {
    return network.put(basic.updateUserPickUpStatus, { data: params });
}